<!DOCTYPE html>
<html lang="ch" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>添加活动</title>
<!--    <link rel="stylesheet" th:href="@{/static/css/login.css}">-->
    <style>
        .span-error {
            color: red;
            font-size:16px ;
        }

    </style>
</head>
<body>
    <div class="login_container">
    <h1>添加活动</h1><br><hr>
    <form th:action="@{/th/add}" method="post">
        <label for="activity_name">name</label><br>
        <input type="text" name="name" id="activity_name"><br>

        <label for="activity_description">description</label><br>
        <input type="text" name="description" id="activity_description" ><br>

        <label for="activity_title">title</label><br>
        <input type="text" name="title" id="activity_title"><br>

        <label for="activity_starttime">starttime</label><br>
        <input type="text" name="startTime" id="activity_starttime"><br>

        <label for="activity_endtime">endtime</label><br>
        <input type="text" name="endTime" id="activity_endtime"><br>

        <span class="span-error" th:text="${error}"></span><br>
        <input type="submit" value="添加">
    </form>
    </div>


</body>
</html>